package com.naire.modul.district.dao;

import java.util.List;

import net.common.service.PageBean;
import com.naire.modul.district.vo.DistrictVo;

public interface DistrictDao {

	public List<DistrictVo> search(PageBean pageBean, String code) throws Exception;
	
	public List<DistrictVo> searchByCode(String code) throws Exception;
	
	public void insert(DistrictVo bean) throws Exception;
	
	public void update(DistrictVo bean) throws Exception;
	
	public void updateFlag(DistrictVo bean) throws Exception;
	
	public DistrictVo find(Integer id) throws Exception;
	
	public List<DistrictVo> searchRoot() throws Exception;
	
	public void insert(List<DistrictVo> list) throws Exception;
}
